package net.zjitc.service;

import net.zjitc.common.Msg;
import net.zjitc.pojo.Register;
import net.zjitc.pojo.User;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/3/26 11:19
 */
public interface UserService {
    List<User> findAll();
    void register(Register register);

    User findByName(String username);

    Msg checkEmail(User user);

    Msg checkUsername(User user);

}
